public class Test20230812_2 {
    public static void main(String [] args){
        int [] num={1,2,3,4,5,6,7,9};
        int count=0;
        for(int i=0; i<num.length-2; i++){
            count=0;
            for(int j=i; j<i+3; j++){
               if(num[j]%2==1){
                   count++;
               }
            }
            if(count==3){
                break;
            }
        }
        if(count==3){
            System.out.println(true);
        }
        else{
            System.out.println(false);
        }
    }
}
